package strBytes

import (
	"unsafe"
)

func StringToBytes(str string)[]byte{
	return  *(*[]byte)(unsafe.Pointer(&str))
}

func BytesToString(buf []byte) string{
	return *(*string)(unsafe.Pointer(&buf))
}